<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="public::head('投票表决')">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="UTF-8"></meta>

</head>
<body style="padding-top:50px;">
<input type="hidden" th:value="${session.Id}" id="id"/>
<input type="hidden" th:value="${session.Type}" id="Type"/>

<input type="hidden" th:value="${xiangmuId}" id="xiangmuId">

<div id="Jindulist">

    <div class="primary-title">
        <div style="margin-top:15px;text-align: center;font-size:24px">
            <label  style="margin-left: 20px; ">{{xiangmu.xiangmuname}}</label>

        </div>
        <div style="text-align: center;font-size:18px">
            <!--            <label  style="margin-left: 20px; ">总数： {{total}} </label>-->
        </div>

        <div style="font-size:18px; align-items: center; justify-content: center">
              <span class="btn btn-info" style="float:left;margin-right:15px;margin-top:10px;"
                    v-on:click="toback()">返回</span>
            <span class="btn btn-success" style="float:right;margin-right:15px;margin-top:10px;"
                  v-on:click="getjindulist()">手动刷新</span>
        </div>

    </div>

    <div style="height: 30px"></div>

    <div class="primary-content">

        <div class="table-responsive leftdiv"  style="overflow:inherit;margin-top:40px;">

            <table class="table table-hover table-striped">
                <thead>
                <th style="text-align:center;vertical-align:middle;width: 50px;">序号</th>
                <th style="text-align:center;vertical-align:middle;width: 100px;">姓名</th>
                <th style="text-align:center;vertical-align:middle;">已选品规数</th>
                <th style="text-align:center;vertical-align:middle;width:80px;">已选集采药数</th>
<!--                <th style="text-align:center;vertical-align:middle;width:80px;">已选创新药数</th>-->
                <th style="text-align:center;vertical-align:middle;width:80px;">已选军供药数</th>
                <th style="text-align:center;vertical-align:middle;width:80px;">是否提交</th>
                </thead>

                <tbody>
                <tr v-for="(jindu,index) in jindulist" v-if="show">
                    <td v-if="index<15" style="text-align:center;vertical-align:middle;width: 80px" v-text="index+1"></td>
                    <td v-if="index<15" style="text-align:center;vertical-align:middle;" v-text="jindu.username"></td>
                    <td v-if="index<15" style="text-align:center;vertical-align:middle;width: 150px" v-text="jindu.pinguishu"></td>
                    <td  v-if="index<15" style="text-align:center;vertical-align:middle;width: 150px" v-text="jindu.jicaishu"></td>
<!--                    <td  v-if="index<15" style="text-align:center;vertical-align:middle;width: 150px" v-text="jindu.chuangxinshu"></td>-->
                    <td  v-if="index<15" style="text-align:center;vertical-align:middle;width: 150px" v-text="jindu.jungongshu"></td>
                    <td v-show="jindu.shifoutijiao=='是'&&index<15" style="text-align:center;color: green;vertical-align:middle;width: 150px" v-text="jindu.shifoutijiao"></td>
                    <td v-show="jindu.shifoutijiao=='否'&&index<15" style="text-align:center;color: red;vertical-align:middle;width: 150px" v-text="jindu.shifoutijiao"></td>

                </tr>

                </tbody>

            </table>
            <div v-if="!show" style="text-align:center;width:100%;">查无数据</div>

        </div>

        <div class="table-responsive rigthdiv" v-show="jindulist.length>15" style="overflow:inherit;margin-top:40px;">

            <table class="table table-hover table-striped">
                <thead>
                <th style="text-align:center;vertical-align:middle;width: 50px;">序号</th>
                <th style="text-align:center;vertical-align:middle;width: 100px;">姓名</th>
                <th style="text-align:center;vertical-align:middle;">已选品规数</th>
                <th style="text-align:center;vertical-align:middle;width:80px;">已选集采药数</th>
<!--                <th style="text-align:center;vertical-align:middle;width:80px;">已选创新药数</th>-->
                <th style="text-align:center;vertical-align:middle;width:80px;">已选军供药数</th>
                <th style="text-align:center;vertical-align:middle;width:80px;">是否提交</th>
                </thead>

                <tbody>
                <tr v-for="(jindu,index) in jindulist" v-if="show">
                    <td v-if="index>14" style="text-align:center;vertical-align:middle;width: 80px" v-text="index+1"></td>
                    <td v-if="index>14" style="text-align:center;vertical-align:middle;" v-text="jindu.username"></td>
                    <td v-if="index>14" style="text-align:center;vertical-align:middle;width: 150px" v-text="jindu.pinguishu"></td>
                    <td v-if="index>14" style="text-align:center;vertical-align:middle;width: 150px" v-text="jindu.jicaishu"></td>
<!--                    <td  v-if="index>14" style="text-align:center;vertical-align:middle;width: 150px" v-text="jindu.chuangxinshu"></td>-->
                    <td  v-if="index>14" style="text-align:center;vertical-align:middle;width: 150px" v-text="jindu.jungongshu"></td>
                    <td v-show="jindu.shifoutijiao=='是'&&index>14" style="text-align:center;color: green;vertical-align:middle;width: 150px" v-text="jindu.shifoutijiao"></td>
                    <td v-show="jindu.shifoutijiao=='否'&&index>14" style="text-align:center;color: red;vertical-align:middle;width: 150px" v-text="jindu.shifoutijiao"></td>

                </tr>

                </tbody>

            </table>
            <div v-if="!show" style="text-align:center;width:100%;">查无数据</div>

        </div>

    </div>


</div>



</div>

</body>
<script th:src="@{/js/main/list_jindu_zhuanke.js?v=1.04}"></script>

<script type="text/javascript">
    var ID = $("#id").val();
    $(function() {
        if(ID==""){
            alert("请先登录！");
            location.href='../main/login';
        }
    });




</script>


<style type="text/css">

    .leftdiv{

        width: 45%;

        display: inline-block;

        /*display:inline;*/

    }

    .rigthdiv{

        width: 45%;

        display: inline-block;

        /*display:inline;*/

    }

</style>

</html>